<!--顶部公用-->
<div class="header">
	<!--顶部导航-->
	{include file="public/top_nav"}
	<!--顶部导航end-->
    <!--搜索-->
    <div class="full_sc">
	    <div class="w1200 header_conter">
		    <div class="h_c_logo">
			    <a href="{:url('home/index/index')}">
				    <img src="__PUBLIC__/home/image/logo.png" width="102px" height="98px" />
			    </a>
		    </div>
		    <div class="h_c_bz">
			    <img src="__PUBLIC__/home/image/top_center.jpg" style="width: 437px;29px; padding-left: 20px;"/>
		    </div>
		    <div class="h_c_search">
			    <div class="search_input">
			    	<form action="" method="post">
			    		<input type="text" style="color: rgb(102, 102, 102);" name="keyword" class="text_search" placeholder="limu 胶原蛋白" value="" />
			    		<input type="submit" class="btn_search" value="搜索"/>
			    	</form>
			    </div>
		    </div>
		    <div class="h_c_right">
		    	<a href="#" id="userGou" class="h_c_r_car">
		    		<b class="b_car1"></b>
		    		<span><i class="ci-count">0</i>我的购物车</span>
		    		<b class="b_car2"></b>
		    	</a>
		    </div>
	    </div>
    </div>
    <!--菜单-->
    <div class="full_nav">
    	<div class="w1200">
    		<ul class="nav">
    			<li class="li_all_type" id="alltype"  onmouseover="over()" onmouseout="out()"> 
    				<a href="{:url('home/index/index')}">全部分类</a>
    				<b class="b_down"></b>
    			</li>
    			<li class="home">
    				<a href="{:url('home/index/index')}" style="color: #C41F3A;">首页</a>
    			</li>
    			<li>
    				<a href="{:url('home/index/refined')}">精选品牌</a>
    			</li>
    			<!-- <li> -->
    				<!-- <a href="{:url('home/index/go')}">全球购</a> -->
    			<!-- </li> -->
    			<li>
    				<a href="{:url('home/index/brand')}">品牌馆</a>
    			</li>
    		</ul>
    	</div>
    </div>
</div>
<!--头部end-->

<script src="__PUBLIC__/home/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="__PUBLIC__/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
<script>
	$(document).on("click","#userGou",function(){
		var name = $.cookie("name");
		if(name){
			window.location.href = "{:url('home/cart/submit')}"
		}else{
			var bool = confirm("您还未登陆，是否去登录");
			if(bool==true){
				window.location.href = "{:url('home/user/login')}"
			}
			return;
		}
	})
</script>